package cn.hsa.fqz.task.service;

import cn.hsa.fqz.common.utils.page.PageData;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * @ProjectName: fqz-uiam
 * @Package: cn.hsa.fqz.task.service
 * @ClassName: IRegionClient
 * @Author: lz
 * @Description: 用户管理客户端
 * @Date: 2021/7/12 10:44
 * @Version: 1.0
 */

public interface IDataFluxService {

    PageData<Map<String, Object>> getTaskSqlExecutePageResult(String host,Integer port,String passwd,String sql, int pageNum, int pageSize);

    List<Map<String, Object>> getTaskSqlExecuteList(String host,Integer port, String passwd, String sql);

    Long executeSql(String host,Integer port, String passwd, String sql);

    List<String> getColumns(String host, Integer port, String passwd, String sql);

}
